package com.advertisementsystem.Servie;

import com.advertisementsystem.Dto.PaymentDTO;
import com.advertisementsystem.vo.PaymentVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

public interface PaymentService {
    // 创建支付订单
    PaymentVO createPayment(PaymentDTO dto);

    // 处理支付回调
    void handlePaymentCallback(String orderNo, String transactionId, Integer status);

    // 查询支付状态
    PaymentVO getPaymentStatus(String orderNo);

    // 获取支付历史
    IPage<PaymentVO> getPaymentHistory(Integer pageNum, Integer pageSize);
}
